from fastapi import APIRouter
from .auth import router as auth_router
from .knowledge_base import router as kb_router
from .documents import router as doc_router
from .templates import router as template_router
from .chat import router as chat_router

api_router = APIRouter()

api_router.include_router(auth_router, prefix="/auth", tags=["认证"])
api_router.include_router(kb_router, prefix="/knowledge-bases", tags=["知识库"])
api_router.include_router(doc_router, prefix="/documents", tags=["文档"])
api_router.include_router(template_router, prefix="/templates", tags=["模板"])
api_router.include_router(chat_router, prefix="/chat", tags=["聊天"]) 